package com.hylu.springcloud.entity;

import com.xuxueli.crawler.annotation.PageFieldSelect;
import com.xuxueli.crawler.annotation.PageSelect;
import com.xuxueli.crawler.conf.XxlCrawlerConf;

/**
 * 疾病全科
 */
@PageSelect(cssQuery = "body")
public class DiseaseVo {
    /**
     * 疾病名称
     */
    @PageFieldSelect(cssQuery = ".waterFall_content_wrap>.waterFall_item>.waterFall_content_title")
    private String title;

    /**
     * 简介
     */
    @PageFieldSelect(cssQuery = ".waterFall_content_wrap >.waterFall_item >.waterFall_content_summary")
    private String shortDesc;

    /**
     * 链接地址
     */
    @PageFieldSelect(cssQuery = ".waterFall_content_wrap >.waterFall_item")
    private String url;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getShortDesc() {
        return shortDesc;
    }

    public void setShortDesc(String shortDesc) {
        this.shortDesc = shortDesc;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
